﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin_page.master" AutoEventWireup="true" CodeBehind="Out_Stocks_Edit.aspx.cs" Inherits="YXShop.Web.admin.stocks.Out_Stocks_Edit" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
       <link rel="stylesheet" href="../style/validator.css" type="text/css" />
    <link rel="stylesheet" href="../style/toolbar.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/validate.js"></script>
    <script type="text/javascript" src="../scripts/public.js"></script>
    <script type="text/javascript" src="../../scripts/calendar.js"></script>
       <style type="text/css">
       </style>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">
    <p>
        &nbsp;出库操作</p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="pageinfo" runat="server">
    <asp:Button ID="btnOutProduct" CssClass="inputbutton" runat="server" 
        Text="出库"  onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"

        onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'" 
        onclick="btnOutProduct_Click" />
    <asp:HyperLink ID="HyperLink1" onclick="javascript:history.back()" runat="server"
        CssClass="inputbutton" Width="50px" Height="20px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        
        onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'">返  回</asp:HyperLink>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pagesarch" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="workspace" runat="server">
<div style="height: 430px">
        <asp:Panel ID="pnlMsg" runat="server" Visible="false" CssClass="pnlReturnMessageErr">
        <asp:Literal ID="ltlMsg" runat="server"></asp:Literal>
        </asp:Panel>
     <div> 
             <div style="float:left; width:50%;">
                             <div id="div1" runat="server" style="width:100%;">
                             <table cellspacing="0" cellpadding="0" border="1" bordercolorlight="#DDDDDD"
                                bordercolordark="#FFFFFF">
                             <tr>
                                 <td class="form_table_input_info">
                                     出库条码：</td>
                                 <td>
                                     <asp:TextBox ID="txtBarCode" runat="server" 
                                         Width="295px" ontextchanged="txtBarCode_TextChanged"></asp:TextBox>
                                     </td>
                                 <td >
                                     &nbsp;</td>
                             </tr>
                             <tr>                       
                                 <td class="form_table_input_info" >
                                     出库单位：</td>
                                 <td >
                                     <asp:DropDownList ID="DropDownListUnit" runat="server" AutoPostBack="True" 
                                         Height="21px" 
                                         Width="101px" 
                                         onselectedindexchanged="DropDownListOutType_SelectedIndexChanged">
                                         <asp:ListItem Value="0">盒</asp:ListItem>
                                         <asp:ListItem Value="1">支</asp:ListItem>
                                     </asp:DropDownList>
                                 </td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                             <tr>
                                 <td class="form_table_input_info" >
                                     出库类型：</td>
                                 <td >
                                     <asp:DropDownList ID="DropDownListOutType" runat="server" AutoPostBack="True" 
                                         Height="21px" 
                                         Width="101px" 
                                         onselectedindexchanged="DropDownListOutType_SelectedIndexChanged">
                                         <asp:ListItem Value="0">出库</asp:ListItem>
                                         <asp:ListItem Value="1">退货</asp:ListItem>
                                         <asp:ListItem Value="2">销售</asp:ListItem>
                                     </asp:DropDownList>
                                 </td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                             <tr>
                                 <td class="form_table_input_info" >
                                     当前仓库类型</td>
                                 <td >
                                     <asp:DropDownList ID="DropDownListNowStockType" runat="server" AutoPostBack="True" 
                                         Height="21px" 
                                         Width="101px" 
                                         onselectedindexchanged="DropDownListNowStockType_SelectedIndexChanged">
                                         <asp:ListItem Value="0">中央仓库</asp:ListItem>
                                         <asp:ListItem Value="1">区域中心</asp:ListItem>
                                         <asp:ListItem Value="2">门店</asp:ListItem>
                                     </asp:DropDownList>
                                 </td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                             <tr>
                                 <td class="form_table_input_info" >
                                     当前仓库</td>
                                 <td >
                                     <asp:TextBox ID="txtCenter0" runat="server" ReadOnly="true">中央仓库</asp:TextBox>
                                     <asp:TextBox ID="txtStoreName0" runat="server" ReadOnly="true" Visible="False"></asp:TextBox>
                                     <asp:TextBox ID="txtStoreCenter0" runat="server" ReadOnly="true" 
                                         Visible="False"></asp:TextBox>
                                     <asp:HiddenField ID="hfStoreCenterid0" runat="server" />
                                     <asp:HiddenField ID="hfstoreid0" runat="server" />
                                 </td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                             <tr>
                                 <td class="form_table_input_info" >
                                     出库仓出库仓库类型</td>
                                 <td >
                                     <asp:DropDownList ID="DropDownListOutStockType" runat="server" AutoPostBack="True" 
                                         Height="21px" 
                                         Width="101px" 
                                         onselectedindexchanged="DropDownListOutStockType_SelectedIndexChanged">
                                         <asp:ListItem Value="0">中央仓库</asp:ListItem>
                                         <asp:ListItem Value="1">区域中心</asp:ListItem>
                                         <asp:ListItem Value="2">门店</asp:ListItem>
                                     </asp:DropDownList>
                                 </td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                             <tr>
                                 <td class="form_table_input_info" >
                                     目标仓库
                                     
                                 </td>
                                 <td><asp:TextBox ID="txtCenter" runat="server" ReadOnly="true">中央仓库</asp:TextBox>
                                     <asp:TextBox ID="txtStoreName" runat="server" ReadOnly="true" Visible="False"></asp:TextBox>
                                     <asp:TextBox ID="txtStoreCenter" runat="server" ReadOnly="true" Visible="False"></asp:TextBox>
                                     <asp:HiddenField ID="hfStoreCenterid" runat="server" />
                                     <asp:HiddenField ID="hfstoreid" runat="server" />
                                     </td>
                                       <td>
                                     &nbsp;</td>
                             </tr>
                             <tr>
                                 <td class="form_table_input_info" >
                                     备注</td>
                                 <td >
                                     <FCKeditorV2:FCKeditor ID="txtNotes" runat="server" Height="205px">
                                     </FCKeditorV2:FCKeditor><div class="msgNormal">出库备注</div>
                                 </td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                         </table>
     
                         </div>
             </div>                                         
                <div style=" margin-left:51%">
                         <div id="div2" runat="server" visible="false" style="width:100%; height: 430px;">
                         订单：合计 
                             <asp:Label ID="lbprice" runat="server"></asp:Label>
                             <br/>
                            <asp:Literal ID="lblList" runat="server"></asp:Literal>
                        <asp:HiddenField ID="hfOrderid" runat="server" />
                         </div>
                 </div>
     </div>
      </div>
 </asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="pagebottom" runat="server">
      <asp:Button ID="btnAddOrder" CssClass="inputbutton" runat="server" 
        Text="加入订单"  onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        
          onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'" 
          onclick="btnAddOrder_Click" />
    <asp:Button ID="btnOutProduct1" CssClass="inputbutton" runat="server" 
        Text="出库"  onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        
        
        
          onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'" 
          onclick="btnOutProduct_Click" />
    <asp:Button ID="btnCancel" CssClass="inputbutton" runat="server" 
        Text="取消"  onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        
        
        
          onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'" 
          onclick="btnCancel_Click" />
    </asp:Content>
